public class test1 {
    //斐波那契数列
    public static void main(String[] args) {
        int m1=1;
        int m2=1;
        int sum = 1;
        for (int i = 1 ;i<=40;i++){

            if(i<3){
                System.out.printf("%10d",1);
                continue;
            }

            sum = m1 + m2;
            System.out.printf("%10d",sum);
            m1 = m2;
            m2 = sum;

            if(i%4==0){
                System.out.println();
            }
        }
    }
}
